/*
The Computer Language Shootout
http://shootout.alioth.debian.org/
Contributed by Jesse Millikan
*/

t = 0
while(l = readline()) t+=parseInt(l)
print(t)
